home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
ada
/
gnat1792.zip
/
gnat179b
/
makefile
< prev
next >
Wrap
Makefile
|
1994-06-03
|
1KB
|
48 lines
# This makefile is used for installing the dos binary distribution of
# GNAT. The installation script resulting from configuration consists
# of make commands using this makefile. The options allowed by setting
# the directories by hand are greater than those allowed in the
# configuration script.
prefix = \djgpp
bindir = $(prefix)\bin
libsubdir = $(prefix)\lib
adaobjdir = $(libsubdir)\adalib
adaincdir = $(prefix)\adainc
CFLAGS= -g
.SUFFIXES: .ada .adb .ads
ADA_CC=gcc
ADAFLAGS= -gnatg -gnata
ALL_ADAFLAGS= $(CFLAGS) $(ADAFLAGS)
.adb.o:
$(ADA_CC) -c $(ALL_ADAFLAGS) $<
.ads.o:
$(ADA_CC) -c $(ALL_ADAFLAGS) $<
ins-basic: makedirs
copy specs $(libsubdir)\specs
copy as.exe $(bindir)\as.exe
ins-gnatstuff: makedirs
copy xgcc.exe $(bindir)\gcc.exe
copy gnatbind.exe $(bindir)\gnatbind.exe
copy gnatbl.exe $(bindir)\gnatbl.exe
copy gnatf.exe $(bindir)\gnatf.exe
copy gkrunch.exe $(bindir)\gkrunch.exe
copy gnatchop.exe $(bindir)\gnatchop.exe
copy gsplit.bat $(bindir)\gsplit.bat
copy gnat1.exe $(bindir)\gnat1.exe
copy libpthreads.a $(libsubdir)\libpthreads.a
copy libgnat.a $(libsubdir)\libgnat.a
makedirs:
mkdir $(prefix)
mkdir $(bindir)
mkdir $(libsubdir)
mkdir $(adaobjdir)
mkdir $(adaincdir)